package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class SchoolTest {
    public static void main(String[] args) {
        School s=new School();
        System.out.println(s);
        s.name="合肥科海中心";
        s.labs=11;
        s.rooms=6;
        s.rooms=7;
        s.labs++;
        s.show();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>");
        System.out.println("这个学校有"+s.rooms+"间教室");
    }
}
